package com.yike.order.convert;

import com.yike.order.entity.Order;
import com.yike.order.param.AddOrderParam;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

@Mapper
public interface OrderConvert {

    OrderConvert INSTANCE = Mappers.getMapper(OrderConvert.class);

    Order convert(AddOrderParam barcode);
}
